local Talents = require("engine.interface.ActorTalents")

local descriptions = {"There are some who call me... Tim.", "I am the knight who says 'NEE'", "Tis but a scratch.", "A mere flesh-wound."}

newEntity{ define_as = "WIZARD",
	type = "humanoid", subtype = "wizard", unique = true,
	name = "Master", faction = "friendly",
	display = "@", color=colors.VIOLET,
	desc = rng.table(descriptions),
	level_range = {25, 30}, exp_worth = 2,
	max_life = 120, life_rating = 15, fixed_rating = true,
	stats = { str=20, dex=20, con=20 },

	body = { INVEN = 10, MAINHAND=1, OFFHAND=1, BODY=1 },

	autolevel = "caster",
	ai = "dumb_talented_simple", ai_state = { talent_in=1, ai_move="move_astar" }, 
	resists = { [DamageType.LIGHTNING] = 90, [DamageType.FIRE] = 90, [DamageType.EARTH] = 90, [DamageType.COLD] = 90, [DamageType.MANA] = 90, [DamageType.CHAOS] = 90, },

	can_talk = "lone-wizard",
}

newEntity{ define_as = "DUMMY",
	type = "humanoid", subtype = "wizard", unique = true,
	name = "??????", faction = "friendly",
	display = "@", color=colors.VIOLET,
	desc = [[An unknown being, you feel that you should talk with him.]],
	level_range = {25, 30}, exp_worth = 2,
	max_life = 120, life_rating = 15, fixed_rating = true,
	stats = { str=20, dex=20, con=20 },

	body = { INVEN = 10, MAINHAND=1, OFFHAND=1, BODY=1 },

	autolevel = "caster",
	ai = "dumb_talented_simple", ai_state = { talent_in=1, ai_move="move_astar" },

	resists = { [DamageType.LIGHTNING] = 100, [DamageType.FIRE] = 100, [DamageType.EARTH] = 100, [DamageType.COLD] = 100, [DamageType.MANA] = 100, [DamageType.CHAOS] = 100, },
	never_move = 1,

	can_talk = "wizard-war",
}
